import { http, HttpResponse } from 'msw';

// 角色列表
const roleList = http.post('/site/api/role/list/', () => {
  return HttpResponse.json({
    code: 0,
    msg: 'SUCCESS',
    data: {
      total: 2,
      list: [
        {
          id: 1,
          roleName: '超级管理员',
          roleDesc: '超级管理员'
        },
        {
          id: 2,
          roleName: '开发工程师',
          roleDesc: '专注java开发三十年'
        }
      ],
      pageNum: 1,
      pageSize: 10,
      size: 2,
      startRow: 1,
      endRow: 2,
      pages: 1,
      prePage: 0,
      nextPage: 0,
      isFirstPage: true,
      isLastPage: true,
      hasPreviousPage: false,
      hasNextPage: false,
      navigatePages: 8,
      navigatepageNums: [1],
      navigateFirstPage: 1,
      navigateLastPage: 1
    }
  });
});

// 新增角色
// {
//   roleDesc:"新增角色的描述"
//   roleName:"角色名称"
// }
const addRole = http.post('/site/api/role/', () => {
  return HttpResponse.json({ code: 0, msg: 'SUCCESS', data: null });
});

// 删除角色，入参示例为，删除id为3的角色
// {
//   ids:[3]
// }
const delRole = http.post('/site/api/role/del/', () => {
  return HttpResponse.json({ code: 0, msg: 'SUCCESS', data: null });
});

// 修改角色
// {
//   id:2
//   roleDesc:"角色的描述"
//   roleName:"角色名称"
// }
const updateRole = http.put('/site/api/role/', () => {
  return HttpResponse.json({ code: 0, msg: 'SUCCESS', data: null });
});

// id为1的角色信息
const roleId1Info = http.get('/site/api/role/1/', () => {
  return HttpResponse.json({ code: 0, msg: 'SUCCESS', data: { id: 1, roleName: '超级管理员', roleDesc: '超级管理员' } });
});

// id为2的角色信息
const roleId2Info = http.get('/site/api/role/2/', () => {
  return HttpResponse.json({
    code: 0,
    msg: 'SUCCESS',
    data: {
      id: 2,
      roleName: '开发工程师',
      roleDesc: '专注java开发三十年'
    }
  });
});

// id为1的角色所拥有的权限码
const roleId1Permission = http.get('/site/api/permission/1/', () => {
  return HttpResponse.json({
    code: 0,
    msg: 'SUCCESS',
    data: [
      'default:dashboard',
      'default:dashboard:analysis',
      'default:dashboard:monitor',
      'default:dashboard:workbench',
      'default:page-demo',
      'default:page-demo:form',
      'default:page-demo:form:base-form',
      'default:page-demo:form:step-form',
      'default:page-demo:form:advanced-form',
      'default:page-demo:list',
      'default:page-demo:list:search-list',
      'default:page-demo:list:search-list:article',
      'default:page-demo:list:search-list:project',
      'default:page-demo:list:search-list:application',
      'default:page-demo:list:search-table',
      'default:page-demo:list:tree-list',
      'default:page-demo:list:standard-table',
      'default:page-demo:list:card-table',
      'default:page-demo:detail',
      'default:page-demo:detail:base-detail',
      'default:page-demo:detail:adv-detail',
      'default:page-demo:result',
      'default:page-demo:result:success',
      'default:page-demo:result:fail',
      'default:page-demo:except',
      'default:page-demo:except:except403',
      'default:page-demo:except:except404',
      'default:page-demo:except:except500',
      'default:page-demo:personal',
      'default:page-demo:personal:personal-center',
      'default:page-demo:personal:personal-setting',
      'default:page-demo:flow',
      'default:page-demo:flow:flow-chat',
      'default:feat',
      'default:feat:msg',
      'default:feat:icons',
      'default:feat:context-menu',
      'default:feat:img-preview',
      'default:feat:full-screen',
      'default:feat:tabs',
      'default:feat:ex-modal',
      'default:feat:ex-drawer',
      'default:feat:rich-text',
      'default:feat:click-out-side',
      'default:feat:frame',
      'default:feat:frame:zorro-doc',
      'https://github.com/huajian123/ng-antd-admin',
      'default:feat:scroll',
      'default:feat:scroll:keep-scroll-page',
      'default:feat:scroll:play-scroll',
      'default:feat:charts',
      'default:feat:charts:gaode-map',
      'default:feat:charts:baidu-map',
      'default:feat:charts:echarts',
      'blank:other-login',
      'blank:other-login:login1',
      'default:feat:color-sel',
      'default:feat:ripple',
      'default:feat:copy',
      'blank:empty-page',
      'default:feat:setup',
      'default:comp',
      'default:comp:basic',
      'default:comp:transition',
      'default:comp:luckysheet',
      'default:comp:lazy',
      'default:comp:lazy:lazy-basic',
      'default:comp:lazy:lazy-scroll',
      'default:comp:desc',
      'default:comp:strength-meter',
      'default:level',
      'default:level:menu1',
      'default:level:menu1:menu1-1',
      'default:level:menu1:menu1-1:menu1-1-1',
      'default:level:menu1:menu1-1:menu1-1-2',
      'default:level:menu1:menu1-2',
      'default:level:menu2',
      'default:system',
      'default:system:account',
      'default:system:role-manager',
      'default:system:menu',
      'default:system:dept',
      'default:about',
      'default:system:menu:add',
      'default:system:menu:edit',
      'default:system:menu:del',
      'default:system:menu:addlowlevel',
      'default:system:dept:add',
      'default:system:dept:edit',
      'default:system:dept:del',
      'default:system:dept:addlowlevel',
      'default:system:account:add',
      'default:system:account:edit',
      'default:system:account:del',
      'default:system:role-manager:add',
      'default:system:role-manager:edit',
      'default:system:role-manager:del',
      'default:system:role-manager:set-role',
      'default:feat:session-timeout',
      'default:feat:websocket',
      'default:feat:download',
      'default:feat:upload',
      'default:page-demo:except:network-error',
      'default:comp:form',
      'default:comp:form:shrink-form',
      'default:page-demo:except:no-data',
      'default:comp:form:append-form',
      'default:page-demo:task',
      'default:feat:qrcode',
      'default:feat:water-mark',
      'default:page-demo:page-demo2',
      'default:feat:feat1',
      'default:feat:feat2',
      'default:feat:feat3',
      'default:feat:feat4',
      'default:feat:feat5',
      'default:comp:comp1',
      'default:comp:comp2',
      'default:comp:comp3',
      'default:comp:comp4',
      'default:comp:comp5',
      'default:page-demo:page-demo1',
      'default:page-demo:page-demo3',
      'default:page-demo:page-demo4'
    ]
  });
});

// id为2的角色所拥有的权限码
const roleId2Permission = http.get('/site/api/permission/2/', () => {
  return HttpResponse.json({
    code: 0,
    msg: 'SUCCESS',
    data: [
      'default:dashboard',
      'default:dashboard:analysis',
      'default:dashboard:monitor',
      'default:dashboard:workbench',
      'default:level',
      'default:level:menu1',
      'default:level:menu2',
      'default:system',
      'default:system:account',
      'default:system:role-manager',
      'default:system:menu',
      'default:about',
      'default:system:menu:add',
      'default:system:menu:edit',
      'default:system:menu:del',
      'default:system:menu:addlowlevel',
      'default:system:dept:add',
      'default:system:dept:edit',
      'default:system:dept:del',
      'default:system:dept:addlowlevel',
      'default:system:account:add',
      'default:system:account:edit',
      'default:system:account:del',
      'default:system:role-manager:add',
      'default:system:role-manager:edit',
      'default:system:role-manager:del',
      'default:system:role-manager:set-role'
    ]
  });
});

// 系统权限列表
const systemPermissionList = http.post('/site/api/sysPermission/list', () => {
  return HttpResponse.json({
    code: 0,
    msg: 'SUCCESS',
    data: {
      total: 124,
      list: [
        {
          id: 1,
          menuName: 'Dashboard',
          code: 'default:dashboard',
          fatherId: 0,
          orderNum: 1,
          path: '/default/dashboard',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: '',
          newLinkFlag: false,
          createTime: 1648685024000,
          updateTime: 1652247739000
        },
        {
          id: 40,
          menuName: '分析页',
          code: 'default:dashboard:analysis',
          fatherId: 1,
          orderNum: 1,
          path: '/default/dashboard/analysis',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'fund',
          alIcon: '',
          newLinkFlag: false,
          createTime: 1652142248000,
          updateTime: 1652403935000
        },
        {
          id: 44,
          menuName: '表单页',
          code: 'default:page-demo:form',
          fatherId: 43,
          orderNum: 1,
          path: '/default/page-demo/form',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'form',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652142409000,
          updateTime: 1652149872000
        },
        {
          id: 45,
          menuName: '基础表单',
          code: 'default:page-demo:form:base-form',
          fatherId: 44,
          orderNum: 1,
          path: '/default/page-demo/form/base-form',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'form',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652143256000,
          updateTime: 1652149872000
        },
        {
          id: 49,
          menuName: '搜索列表',
          code: 'default:page-demo:list:search-list',
          fatherId: 48,
          orderNum: 1,
          path: '/default/page-demo/list/search-list',
          menuType: 'C',
          visible: true,
          status: true,
          icon: '',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652143515000,
          updateTime: 1652434163000
        },
        {
          id: 50,
          menuName: '搜索列表(文章)',
          code: 'default:page-demo:list:search-list:article',
          fatherId: 49,
          orderNum: 1,
          path: '/default/page-demo/list/search-list/article',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'table',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652143633000,
          updateTime: 1652149872000
        },
        {
          id: 62,
          menuName: '基础详情页',
          code: 'default:page-demo:detail:base-detail',
          fatherId: 61,
          orderNum: 1,
          path: '/default/page-demo/detail/base-detail',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'profile',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652147290000,
          updateTime: 1652165915000
        },
        {
          id: 65,
          menuName: '成功页',
          code: 'default:page-demo:result:success',
          fatherId: 64,
          orderNum: 1,
          path: '/default/page-demo/result/success',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'check-circle',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652147400000,
          updateTime: 1652165915000
        },
        {
          id: 68,
          menuName: '403',
          code: 'default:page-demo:except:except403',
          fatherId: 67,
          orderNum: 1,
          path: '/default/page-demo/except/except403',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'warning',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652147515000,
          updateTime: 1652165915000
        },
        {
          id: 72,
          menuName: '个人中心',
          code: 'default:page-demo:personal:personal-center',
          fatherId: 71,
          orderNum: 1,
          path: '/default/page-demo/personal/personal-center',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'user',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652147616000,
          updateTime: 1652165916000
        },
        {
          id: 75,
          menuName: '流程图',
          code: 'default:page-demo:flow:flow-chat',
          fatherId: 74,
          orderNum: 1,
          path: '/default/page-demo/flow/flow-chat',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'highlight',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652147702000,
          updateTime: 1652165916000
        },
        {
          id: 77,
          menuName: '消息提示',
          code: 'default:feat:msg',
          fatherId: 76,
          orderNum: 1,
          path: '/default/feat/msg',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652147781000,
          updateTime: 1652165916000
        },
        {
          id: 88,
          menuName: 'zorro文档',
          code: 'default:feat:frame:zorro-doc',
          fatherId: 87,
          orderNum: 1,
          path: '/default/feat/frame/zorro-doc',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148207000,
          updateTime: 1652165916000
        },
        {
          id: 91,
          menuName: '缓存滚动条',
          code: 'default:feat:scroll:keep-scroll-page',
          fatherId: 90,
          orderNum: 1,
          path: '/default/feat/scroll/keep-scroll-page',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148362000,
          updateTime: 1652165916000
        },
        {
          id: 94,
          menuName: '高德',
          code: 'default:feat:charts:gaode-map',
          fatherId: 93,
          orderNum: 1,
          path: '/default/feat/charts/gaode-map',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'highlight',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148448000,
          updateTime: 1652165916000
        },
        {
          id: 98,
          menuName: '第一种',
          code: 'blank:other-login:login1',
          fatherId: 97,
          orderNum: 1,
          path: '/blank/other-login/login1',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'highlight',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148550000,
          updateTime: 1652165916000
        },
        {
          id: 105,
          menuName: '基础组件',
          code: 'default:comp:basic',
          fatherId: 104,
          orderNum: 1,
          path: '/default/comp/basic',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148729000,
          updateTime: 1652165917000
        },
        {
          id: 109,
          menuName: '基础懒加载组件',
          code: 'default:comp:lazy:lazy-basic',
          fatherId: 108,
          orderNum: 1,
          path: '/default/comp/lazy/lazy-basic',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148813000,
          updateTime: 1652165917000
        },
        {
          id: 114,
          menuName: 'Menu1',
          code: 'default:level:menu1',
          fatherId: 113,
          orderNum: 1,
          path: '/default/level/menu1',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'menu',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148934000,
          updateTime: 1652165917000
        },
        {
          id: 115,
          menuName: 'Menu1-1',
          code: 'default:level:menu1:menu1-1',
          fatherId: 114,
          orderNum: 1,
          path: '/default/level/menu1/menu1-1',
          menuType: 'C',
          visible: true,
          status: true,
          icon: '',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148956000,
          updateTime: 1652261116000
        },
        {
          id: 116,
          menuName: 'Menu1-1-1',
          code: 'default:level:menu1:menu1-1:menu1-1-1',
          fatherId: 115,
          orderNum: 1,
          path: '/default/level/menu1/menu1-1/menu1-1-1',
          menuType: 'C',
          visible: true,
          status: true,
          icon: '',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148988000,
          updateTime: 1652261083000
        },
        {
          id: 121,
          menuName: '账号管理',
          code: 'default:system:account',
          fatherId: 120,
          orderNum: 1,
          path: '/default/system/account',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'menu',
          alIcon: '',
          newLinkFlag: false,
          createTime: 1652149109000,
          updateTime: 1652166482000
        },
        {
          id: 126,
          menuName: '菜单管理新增',
          code: 'default:system:menu:add',
          fatherId: 123,
          orderNum: 1,
          path: null,
          menuType: 'F',
          visible: true,
          status: true,
          icon: null,
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652149283000,
          updateTime: 1652166349000
        },
        {
          id: 130,
          menuName: '部门管理新增',
          code: 'default:system:dept:add',
          fatherId: 124,
          orderNum: 1,
          path: '',
          menuType: 'F',
          visible: false,
          status: true,
          icon: null,
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652151429000,
          updateTime: 1652166349000
        },
        {
          id: 134,
          menuName: '账号管理新增',
          code: 'default:system:account:add',
          fatherId: 121,
          orderNum: 1,
          path: '',
          menuType: 'F',
          visible: false,
          status: true,
          icon: null,
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652151594000,
          updateTime: 1652166349000
        },
        {
          id: 137,
          menuName: '角色管理新增',
          code: 'default:system:role-manager:add',
          fatherId: 122,
          orderNum: 1,
          path: '',
          menuType: 'F',
          visible: false,
          status: true,
          icon: null,
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652151677000,
          updateTime: 1652166350000
        },
        {
          id: 148,
          menuName: '可收缩表单',
          code: 'default:comp:form:shrink-form',
          fatherId: 147,
          orderNum: 1,
          path: '/default/comp/form/shrink-form',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'minus-square',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1662099690000,
          updateTime: 1662100464000
        },
        {
          id: 41,
          menuName: '监控页',
          code: 'default:dashboard:monitor',
          fatherId: 1,
          orderNum: 2,
          path: '/default/dashboard/monitor',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'fund',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652142295000,
          updateTime: 1652149872000
        },
        {
          id: 43,
          menuName: '页面',
          code: 'default:page-demo',
          fatherId: 0,
          orderNum: 2,
          path: '/default/page-demo',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'appstore',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652142349000,
          updateTime: 1652149872000
        },
        {
          id: 46,
          menuName: '分步表单',
          code: 'default:page-demo:form:step-form',
          fatherId: 44,
          orderNum: 2,
          path: '/default/page-demo/form/step-form',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'form',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652143299000,
          updateTime: 1652149872000
        },
        {
          id: 48,
          menuName: '列表页',
          code: 'default:page-demo:list',
          fatherId: 43,
          orderNum: 2,
          path: '/default/page-demo/list',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'table',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652143435000,
          updateTime: 1652149872000
        },
        {
          id: 51,
          menuName: '搜索列表(项目)',
          code: 'default:page-demo:list:search-list:project',
          fatherId: 49,
          orderNum: 2,
          path: '/default/page-demo/list/search-list/project',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'table',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652143679000,
          updateTime: 1652149872000
        },
        {
          id: 53,
          menuName: '查询表格',
          code: 'default:page-demo:list:search-table',
          fatherId: 48,
          orderNum: 2,
          path: '/default/page-demo/list/search-table',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'table',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652143830000,
          updateTime: 1652149872000
        },
        {
          id: 63,
          menuName: '高级详情页',
          code: 'default:page-demo:detail:adv-detail',
          fatherId: 61,
          orderNum: 2,
          path: '/default/page-demo/detail/adv-detail',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'profile',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652147309000,
          updateTime: 1652165915000
        },
        {
          id: 66,
          menuName: '失败页',
          code: 'default:page-demo:result:fail',
          fatherId: 64,
          orderNum: 2,
          path: '/default/page-demo/result/fail',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'check-circle',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652147442000,
          updateTime: 1652165915000
        },
        {
          id: 69,
          menuName: '404',
          code: 'default:page-demo:except:except404',
          fatherId: 67,
          orderNum: 2,
          path: '/default/page-demo/except/except404',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'warning',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652147535000,
          updateTime: 1652165916000
        },
        {
          id: 73,
          menuName: '个人设置',
          code: 'default:page-demo:personal:personal-setting',
          fatherId: 71,
          orderNum: 2,
          path: '/default/page-demo/personal/personal-setting',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'user',
          alIcon: '',
          newLinkFlag: false,
          createTime: 1652147643000,
          updateTime: 1652165916000
        },
        {
          id: 78,
          menuName: '图标',
          code: 'default:feat:icons',
          fatherId: 76,
          orderNum: 2,
          path: '/default/feat/icons',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652147803000,
          updateTime: 1652165916000
        },
        {
          id: 89,
          menuName: '外部链接',
          code: 'https://github.com/huajian123/ng-antd-admin',
          fatherId: 87,
          orderNum: 2,
          path: 'https://github.com/huajian123/ng-antd-admin',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'usergroup-delete',
          alIcon: null,
          newLinkFlag: true,
          createTime: 1652148311000,
          updateTime: 1652165933000
        },
        {
          id: 92,
          menuName: '玩弄滚动条',
          code: 'default:feat:scroll:play-scroll',
          fatherId: 90,
          orderNum: 2,
          path: '/default/feat/scroll/play-scroll',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148384000,
          updateTime: 1652165916000
        },
        {
          id: 95,
          menuName: '百度',
          code: 'default:feat:charts:baidu-map',
          fatherId: 93,
          orderNum: 2,
          path: '/default/feat/charts/baidu-map',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'highlight',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148472000,
          updateTime: 1652165916000
        },
        {
          id: 106,
          menuName: '动画组件',
          code: 'default:comp:transition',
          fatherId: 104,
          orderNum: 2,
          path: '/default/comp/transition',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148752000,
          updateTime: 1652165917000
        },
        {
          id: 110,
          menuName: '滚动懒加载',
          code: 'default:comp:lazy:lazy-scroll',
          fatherId: 108,
          orderNum: 2,
          path: '/default/comp/lazy/lazy-scroll',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148832000,
          updateTime: 1652165917000
        },
        {
          id: 117,
          menuName: 'Menu1-1-2',
          code: 'default:level:menu1:menu1-1:menu1-1-2',
          fatherId: 115,
          orderNum: 2,
          path: '/default/level/menu1/menu1-1/menu1-1-2',
          menuType: 'C',
          visible: true,
          status: true,
          icon: '',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652149012000,
          updateTime: 1652261094000
        },
        {
          id: 118,
          menuName: 'Menu1-2',
          code: 'default:level:menu1:menu1-2',
          fatherId: 114,
          orderNum: 2,
          path: '/default/level/menu1/menu1-2',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'menu',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652149034000,
          updateTime: 1652165917000
        },
        {
          id: 119,
          menuName: 'Menu2',
          code: 'default:level:menu2',
          fatherId: 113,
          orderNum: 2,
          path: '/default/level/menu2',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'menu',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652149057000,
          updateTime: 1652165917000
        },
        {
          id: 122,
          menuName: '角色管理',
          code: 'default:system:role-manager',
          fatherId: 120,
          orderNum: 2,
          path: '/default/system/role-manager',
          menuType: 'C',
          visible: true,
          status: true,
          icon: '',
          alIcon: 'icon-mel-help',
          newLinkFlag: false,
          createTime: 1652149135000,
          updateTime: 1652166492000
        },
        {
          id: 127,
          menuName: '菜单管理编辑',
          code: 'default:system:menu:edit',
          fatherId: 123,
          orderNum: 2,
          path: null,
          menuType: 'F',
          visible: false,
          status: true,
          icon: null,
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652151098000,
          updateTime: 1652166349000
        },
        {
          id: 131,
          menuName: '部门管理编辑',
          code: 'default:system:dept:edit',
          fatherId: 124,
          orderNum: 2,
          path: '',
          menuType: 'F',
          visible: false,
          status: true,
          icon: null,
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652151453000,
          updateTime: 1652166349000
        },
        {
          id: 135,
          menuName: '账号管理编辑',
          code: 'default:system:account:edit',
          fatherId: 121,
          orderNum: 2,
          path: '',
          menuType: 'F',
          visible: false,
          status: true,
          icon: null,
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652151615000,
          updateTime: 1652166350000
        },
        {
          id: 138,
          menuName: '角色管理编辑',
          code: 'default:system:role-manager:edit',
          fatherId: 122,
          orderNum: 2,
          path: '',
          menuType: 'F',
          visible: false,
          status: true,
          icon: null,
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652151695000,
          updateTime: 1652166350000
        },
        {
          id: 150,
          menuName: '表单增删',
          code: 'default:comp:form:append-form',
          fatherId: 147,
          orderNum: 2,
          path: '/default/comp/form/append-form',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'chrome',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1666359068000,
          updateTime: 1666359068000
        },
        {
          id: 42,
          menuName: '工作台',
          code: 'default:dashboard:workbench',
          fatherId: 1,
          orderNum: 3,
          path: '/default/dashboard/workbench',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'appstore',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652142319000,
          updateTime: 1652149872000
        },
        {
          id: 47,
          menuName: '高级表单',
          code: 'default:page-demo:form:advanced-form',
          fatherId: 44,
          orderNum: 3,
          path: '/default/page-demo/form/advanced-form',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'form',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652143382000,
          updateTime: 1652149872000
        },
        {
          id: 52,
          menuName: '搜索列表(应用)',
          code: 'default:page-demo:list:search-list:application',
          fatherId: 49,
          orderNum: 3,
          path: '/default/page-demo/list/search-list/application',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'table',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652143756000,
          updateTime: 1652149872000
        },
        {
          id: 54,
          menuName: '树状表格',
          code: 'default:page-demo:list:tree-list',
          fatherId: 48,
          orderNum: 3,
          path: '/default/page-demo/list/tree-list',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'table',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652143874000,
          updateTime: 1652149872000
        },
        {
          id: 61,
          menuName: '详情页',
          code: 'default:page-demo:detail',
          fatherId: 43,
          orderNum: 3,
          path: '/default/page-demo/detail',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'profile',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652147272000,
          updateTime: 1652165915000
        },
        {
          id: 70,
          menuName: '500',
          code: 'default:page-demo:except:except500',
          fatherId: 67,
          orderNum: 3,
          path: '/default/page-demo/except/except500',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'warning',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652147557000,
          updateTime: 1652165916000
        },
        {
          id: 76,
          menuName: '功能',
          code: 'default:feat',
          fatherId: 0,
          orderNum: 3,
          path: '/default/feat',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'star',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652147741000,
          updateTime: 1652165916000
        },
        {
          id: 79,
          menuName: '右键菜单',
          code: 'default:feat:context-menu',
          fatherId: 76,
          orderNum: 3,
          path: '/default/feat/context-menu',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652147925000,
          updateTime: 1652165916000
        },
        {
          id: 96,
          menuName: 'Echarts',
          code: 'default:feat:charts:echarts',
          fatherId: 93,
          orderNum: 3,
          path: '/default/feat/charts/echarts',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'highlight',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148494000,
          updateTime: 1652165916000
        },
        {
          id: 107,
          menuName: '在线excel',
          code: 'default:comp:luckysheet',
          fatherId: 104,
          orderNum: 3,
          path: '/default/comp/luckysheet',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148769000,
          updateTime: 1652165917000
        },
        {
          id: 123,
          menuName: '菜单管理',
          code: 'default:system:menu',
          fatherId: 120,
          orderNum: 3,
          path: '/default/system/menu',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'menu',
          alIcon: '',
          newLinkFlag: false,
          createTime: 1652149283000,
          updateTime: 1652166503000
        },
        {
          id: 128,
          menuName: '菜单管理删除',
          code: 'default:system:menu:del',
          fatherId: 123,
          orderNum: 3,
          path: null,
          menuType: 'F',
          visible: false,
          status: true,
          icon: null,
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652151145000,
          updateTime: 1652166349000
        },
        {
          id: 132,
          menuName: '部门管理删除',
          code: 'default:system:dept:del',
          fatherId: 124,
          orderNum: 3,
          path: '',
          menuType: 'F',
          visible: false,
          status: true,
          icon: null,
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652151477000,
          updateTime: 1652166349000
        },
        {
          id: 136,
          menuName: '账号管理删除',
          code: 'default:system:account:del',
          fatherId: 121,
          orderNum: 3,
          path: '',
          menuType: 'F',
          visible: false,
          status: true,
          icon: null,
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652151640000,
          updateTime: 1652166350000
        },
        {
          id: 139,
          menuName: '角色管理删除',
          code: 'default:system:role-manager:del',
          fatherId: 122,
          orderNum: 3,
          path: '',
          menuType: 'F',
          visible: false,
          status: true,
          icon: null,
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652151719000,
          updateTime: 1652166350000
        },
        {
          id: 55,
          menuName: '标准表格',
          code: 'default:page-demo:list:standard-table',
          fatherId: 48,
          orderNum: 4,
          path: '/default/page-demo/list/standard-table',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'table',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652143910000,
          updateTime: 1652149872000
        },
        {
          id: 64,
          menuName: '结果页',
          code: 'default:page-demo:result',
          fatherId: 43,
          orderNum: 4,
          path: '/default/page-demo/result',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'check-circle',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652147362000,
          updateTime: 1652165915000
        },
        {
          id: 80,
          menuName: '图片预览',
          code: 'default:feat:img-preview',
          fatherId: 76,
          orderNum: 4,
          path: '/default/feat/img-preview',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652147950000,
          updateTime: 1652165916000
        },
        {
          id: 104,
          menuName: '组件',
          code: 'default:comp',
          fatherId: 0,
          orderNum: 4,
          path: '/default/comp',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'star',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148712000,
          updateTime: 1652165917000
        },
        {
          id: 108,
          menuName: '组件懒加载',
          code: 'default:comp:lazy',
          fatherId: 104,
          orderNum: 4,
          path: '/default/comp/lazy',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148795000,
          updateTime: 1652165917000
        },
        {
          id: 124,
          menuName: '部门管理',
          code: 'default:system:dept',
          fatherId: 120,
          orderNum: 4,
          path: '/default/system/dept',
          menuType: 'C',
          visible: true,
          status: true,
          icon: '',
          alIcon: 'icon-mel-help',
          newLinkFlag: false,
          createTime: 1652149318000,
          updateTime: 1652166514000
        },
        {
          id: 129,
          menuName: '菜单管理添加下级',
          code: 'default:system:menu:addlowlevel',
          fatherId: 123,
          orderNum: 4,
          path: '',
          menuType: 'F',
          visible: false,
          status: true,
          icon: null,
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652151273000,
          updateTime: 1652166349000
        },
        {
          id: 133,
          menuName: '部门管理添加下级',
          code: 'default:system:dept:addlowlevel',
          fatherId: 124,
          orderNum: 4,
          path: '',
          menuType: 'F',
          visible: false,
          status: true,
          icon: null,
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652151510000,
          updateTime: 1652166349000
        },
        {
          id: 140,
          menuName: '角色管理设置角色',
          code: 'default:system:role-manager:set-role',
          fatherId: 122,
          orderNum: 4,
          path: '',
          menuType: 'F',
          visible: false,
          status: true,
          icon: null,
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652151740000,
          updateTime: 1652166350000
        },
        {
          id: 146,
          menuName: '网络错误',
          code: 'default:page-demo:except:network-error',
          fatherId: 67,
          orderNum: 4,
          path: '/default/page-demo/except/network-error',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'warning',
          alIcon: '',
          newLinkFlag: false,
          createTime: 1661839893000,
          updateTime: 1661839893000
        },
        {
          id: 56,
          menuName: '卡片列表',
          code: 'default:page-demo:list:card-table',
          fatherId: 48,
          orderNum: 5,
          path: '/default/page-demo/list/card-table',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'table',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652143943000,
          updateTime: 1652149872000
        },
        {
          id: 67,
          menuName: '异常页',
          code: 'default:page-demo:except',
          fatherId: 43,
          orderNum: 5,
          path: '/default/page-demo/except',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'warning',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652147492000,
          updateTime: 1652165915000
        },
        {
          id: 81,
          menuName: '全屏',
          code: 'default:feat:full-screen',
          fatherId: 76,
          orderNum: 5,
          path: '/default/feat/full-screen',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652147973000,
          updateTime: 1652165916000
        },
        {
          id: 111,
          menuName: '详情组件',
          code: 'default:comp:desc',
          fatherId: 104,
          orderNum: 5,
          path: '/default/comp/desc',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148863000,
          updateTime: 1652165917000
        },
        {
          id: 113,
          menuName: '多级菜单',
          code: 'default:level',
          fatherId: 0,
          orderNum: 5,
          path: '/default/level',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'menu',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148912000,
          updateTime: 1652165917000
        },
        {
          id: 149,
          menuName: '无数据',
          code: 'default:page-demo:except:no-data',
          fatherId: 67,
          orderNum: 5,
          path: '/default/page-demo/except/no-data',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'warning',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1662804565000,
          updateTime: 1662804565000
        },
        {
          id: 71,
          menuName: '个人页',
          code: 'default:page-demo:personal',
          fatherId: 43,
          orderNum: 6,
          path: '/default/page-demo/personal',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'user',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652147593000,
          updateTime: 1652165916000
        },
        {
          id: 82,
          menuName: '标签页操作',
          code: 'default:feat:tabs',
          fatherId: 76,
          orderNum: 6,
          path: '/default/feat/tabs',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148000000,
          updateTime: 1652165916000
        },
        {
          id: 112,
          menuName: '密码强度校验组件',
          code: 'default:comp:strength-meter',
          fatherId: 104,
          orderNum: 6,
          path: '/default/comp/strength-meter',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148884000,
          updateTime: 1652165917000
        },
        {
          id: 120,
          menuName: '系统管理',
          code: 'default:system',
          fatherId: 0,
          orderNum: 6,
          path: '/default/system',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'menu',
          alIcon: '',
          newLinkFlag: false,
          createTime: 1652149092000,
          updateTime: 1652166469000
        },
        {
          id: 74,
          menuName: '图形编辑器',
          code: 'default:page-demo:flow',
          fatherId: 43,
          orderNum: 7,
          path: '/default/page-demo/flow',
          menuType: 'C',
          visible: true,
          status: true,
          icon: null,
          alIcon: 'icon-mel-help',
          newLinkFlag: false,
          createTime: 1652147678000,
          updateTime: 1652166360000
        },
        {
          id: 83,
          menuName: '拖拽modal',
          code: 'default:feat:ex-modal',
          fatherId: 76,
          orderNum: 7,
          path: '/default/feat/ex-modal',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148035000,
          updateTime: 1652165916000
        },
        {
          id: 125,
          menuName: '关于',
          code: 'default:about',
          fatherId: 0,
          orderNum: 7,
          path: '/default/about',
          menuType: 'C',
          visible: true,
          status: true,
          icon: '',
          alIcon: 'icon-medium',
          newLinkFlag: false,
          createTime: 1652149355000,
          updateTime: 1652166519000
        },
        {
          id: 147,
          menuName: 'Form',
          code: 'default:comp:form',
          fatherId: 104,
          orderNum: 7,
          path: '/default/comp/form',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'form',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1662099621000,
          updateTime: 1662099621000
        },
        {
          id: 84,
          menuName: '封装抽屉',
          code: 'default:feat:ex-drawer',
          fatherId: 76,
          orderNum: 8,
          path: '/default/feat/ex-drawer',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148063000,
          updateTime: 1652165916000
        },
        {
          id: 151,
          menuName: '任务',
          code: 'default:page-demo:task',
          fatherId: 43,
          orderNum: 8,
          path: '/default/page-demo/task',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'border-bottom',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1696945785000,
          updateTime: 1696945785000
        },
        {
          id: 160,
          menuName: 'blingbling',
          code: 'default:comp:comp1',
          fatherId: 104,
          orderNum: 8,
          path: '/default/comp/comp1',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'caret-down',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1714663286000,
          updateTime: 1714663286000
        },
        {
          id: 85,
          menuName: '富文本',
          code: 'default:feat:rich-text',
          fatherId: 76,
          orderNum: 9,
          path: '/default/feat/rich-text',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148086000,
          updateTime: 1652165916000
        },
        {
          id: 161,
          menuName: '新组件2',
          code: 'default:comp:comp2',
          fatherId: 104,
          orderNum: 9,
          path: '/default/comp/comp2',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'caret-right',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1714663305000,
          updateTime: 1714663305000
        },
        {
          id: 166,
          menuName: '新布局',
          code: 'default:page-demo:page-demo1',
          fatherId: 43,
          orderNum: 9,
          path: '/default/page-demo/page-demo1',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'caret-down',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1714663490000,
          updateTime: 1714663490000
        },
        {
          id: 86,
          menuName: 'clickOutSide',
          code: 'default:feat:click-out-side',
          fatherId: 76,
          orderNum: 10,
          path: '/default/feat/click-out-side',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148112000,
          updateTime: 1652165916000
        },
        {
          id: 154,
          menuName: '新页面2',
          code: 'default:page-demo:page-demo2',
          fatherId: 43,
          orderNum: 10,
          path: '/default/page-demo/page-demo2',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'up',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1714663111000,
          updateTime: 1714663111000
        },
        {
          id: 162,
          menuName: '新组件3',
          code: 'default:comp:comp3',
          fatherId: 104,
          orderNum: 10,
          path: '/default/comp/comp3',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'caret-left',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1714663325000,
          updateTime: 1714663332000
        },
        {
          id: 87,
          menuName: '外部文档',
          code: 'default:feat:frame',
          fatherId: 76,
          orderNum: 11,
          path: '/default/feat/frame',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148153000,
          updateTime: 1652165916000
        },
        {
          id: 164,
          menuName: '新组件4',
          code: 'default:comp:comp4',
          fatherId: 104,
          orderNum: 11,
          path: '/default/comp/comp4',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'down',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1714663405000,
          updateTime: 1714663405000
        },
        {
          id: 167,
          menuName: '新页面3',
          code: 'default:page-demo:page-demo3',
          fatherId: 43,
          orderNum: 11,
          path: '/default/page-demo/page-demo3',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'down',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1714663514000,
          updateTime: 1714663514000
        },
        {
          id: 90,
          menuName: '滚动条',
          code: 'default:feat:scroll',
          fatherId: 76,
          orderNum: 12,
          path: '/default/feat/scroll',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148343000,
          updateTime: 1652165916000
        },
        {
          id: 165,
          menuName: '新组件5',
          code: 'default:comp:comp5',
          fatherId: 104,
          orderNum: 12,
          path: '/default/comp/comp5',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'caret-down',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1714663425000,
          updateTime: 1714663425000
        },
        {
          id: 168,
          menuName: '新页面4',
          code: 'default:page-demo:page-demo4',
          fatherId: 43,
          orderNum: 12,
          path: '/default/page-demo/page-demo4',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'caret-down',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1714663553000,
          updateTime: 1714663553000
        },
        {
          id: 93,
          menuName: '图表',
          code: 'default:feat:charts',
          fatherId: 76,
          orderNum: 13,
          path: '/default/feat/charts',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148419000,
          updateTime: 1652165916000
        },
        {
          id: 97,
          menuName: '其他登录方式',
          code: 'blank:other-login',
          fatherId: 76,
          orderNum: 14,
          path: '/blank/other-login',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'dashboard',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148521000,
          updateTime: 1652165916000
        },
        {
          id: 99,
          menuName: '颜色选择器',
          code: 'default:feat:color-sel',
          fatherId: 76,
          orderNum: 15,
          path: '/default/feat/color-sel',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'usergroup-delete',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148581000,
          updateTime: 1652165917000
        },
        {
          id: 100,
          menuName: '水波纹',
          code: 'default:feat:ripple',
          fatherId: 76,
          orderNum: 16,
          path: '/default/feat/ripple',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'usergroup-delete',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148602000,
          updateTime: 1652165917000
        },
        {
          id: 101,
          menuName: '剪切板',
          code: 'default:feat:copy',
          fatherId: 76,
          orderNum: 17,
          path: '/default/feat/copy',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'usergroup-delete',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148624000,
          updateTime: 1652165917000
        },
        {
          id: 102,
          menuName: '空白页',
          code: 'blank:empty-page',
          fatherId: 76,
          orderNum: 18,
          path: '/blank/empty-page',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'usergroup-delete',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148646000,
          updateTime: 1652165917000
        },
        {
          id: 103,
          menuName: '引导页',
          code: 'default:feat:setup',
          fatherId: 76,
          orderNum: 19,
          path: '/default/feat/setup',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'codepen',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652148685000,
          updateTime: 1652166024000
        },
        {
          id: 141,
          menuName: '登录超时',
          code: 'default:feat:session-timeout',
          fatherId: 76,
          orderNum: 20,
          path: '/default/feat/session-timeout',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'yuque',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652252236000,
          updateTime: 1652252248000
        },
        {
          id: 142,
          menuName: 'websocket',
          code: 'default:feat:websocket',
          fatherId: 76,
          orderNum: 21,
          path: '/default/feat/websocket',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'border-horizontal',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652255721000,
          updateTime: 1652261357000
        },
        {
          id: 144,
          menuName: '文件上传',
          code: 'default:feat:upload',
          fatherId: 76,
          orderNum: 22,
          path: '/default/feat/upload',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'up',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652404279000,
          updateTime: 1652404509000
        },
        {
          id: 143,
          menuName: '文件下载',
          code: 'default:feat:download',
          fatherId: 76,
          orderNum: 23,
          path: '/default/feat/download',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'arrow-down',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1652341563000,
          updateTime: 1652341563000
        },
        {
          id: 152,
          menuName: '二维码',
          code: 'default:feat:qrcode',
          fatherId: 76,
          orderNum: 24,
          path: '/default/feat/qrcode',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'gitlab',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1696945827000,
          updateTime: 1696945827000
        },
        {
          id: 153,
          menuName: '水印',
          code: 'default:feat:water-mark',
          fatherId: 76,
          orderNum: 25,
          path: '/default/feat/water-mark',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'windows',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1696946721000,
          updateTime: 1696946721000
        },
        {
          id: 155,
          menuName: '新功能1',
          code: 'default:feat:feat1',
          fatherId: 76,
          orderNum: 26,
          path: '/default/feat/feat1',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'arrows-alt',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1714663195000,
          updateTime: 1714663195000
        },
        {
          id: 156,
          menuName: '新功能2',
          code: 'default:feat:feat2',
          fatherId: 76,
          orderNum: 27,
          path: '/default/feat/feat2',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'caret-down',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1714663213000,
          updateTime: 1714663213000
        },
        {
          id: 157,
          menuName: '新功能3',
          code: 'default:feat:feat3',
          fatherId: 76,
          orderNum: 28,
          path: '/default/feat/feat3',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'caret-right',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1714663228000,
          updateTime: 1714663228000
        },
        {
          id: 158,
          menuName: '新功能4',
          code: 'default:feat:feat4',
          fatherId: 76,
          orderNum: 29,
          path: '/default/feat/feat4',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'caret-left',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1714663242000,
          updateTime: 1714663242000
        },
        {
          id: 159,
          menuName: '新功能5',
          code: 'default:feat:feat5',
          fatherId: 76,
          orderNum: 30,
          path: '/default/feat/feat5',
          menuType: 'C',
          visible: true,
          status: true,
          icon: 'up-circle',
          alIcon: null,
          newLinkFlag: false,
          createTime: 1714663256000,
          updateTime: 1714663256000
        }
      ],
      pageNum: 0,
      pageSize: 0,
      size: 124,
      startRow: 1,
      endRow: 124,
      pages: 0,
      prePage: 0,
      nextPage: 0,
      isFirstPage: false,
      isLastPage: true,
      hasPreviousPage: false,
      hasNextPage: false,
      navigatePages: 8,
      navigatepageNums: [],
      navigateFirstPage: 0,
      navigateLastPage: 0
    }
  });
});

// 修改权限点击保存，入参为下列注释，根据角色id设置权限
// {
//   permissionIds:["1", "40", "41", "42", "113", "114", "119", "120", "121", "134", "135", "136", "122", "137", "138"]
//   roleId:2
// }
const updatePermissionSubmit = http.put('/site/api/permission/', () => {
  return HttpResponse.json({ code: 0, msg: 'SUCCESS', data: null });
});

export const role = [roleList, roleId1Info, roleId2Info, roleId1Permission, roleId2Permission, systemPermissionList, updatePermissionSubmit, addRole, delRole, updateRole];
